package com.quectel.leshan.client;

import org.eclipse.californium.core.CoapResource;
import org.eclipse.californium.core.network.Exchange;
import org.eclipse.californium.core.server.resources.CoapExchange;

public class HelloCoapResource extends CoapResource {

    public HelloCoapResource(String name) {
        super(name);
    }

    @Override
    public void handleRequest(Exchange exchange) {
        super.handleRequest(exchange);
    }

    @Override
    public void handlePOST(CoapExchange exchange) {
        exchange.respond("hi,this is coap client abc !");
    }
}
